<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<?php
    function enviarCorreo()
    {
        $destino="franyza88@gmail.com";
        mail($destino,$asunto,$mensaje, $remitente);
        mail($destino, $_POST["tema"],$_POST["msj"], 'FROM: $_POST["msj"]');
    }
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
    </head>
    <body>
        <?php include 'include/cabecera.php'; ?>
        <div id="contenido">
            <form action="<?php enviarCorreo(); ?>">

                E-mail: <input type="text" id="mail"/><br/>
                Mensaje: <textarea cols="50" rows="10"  id="msj"></textarea>
                <input type="submit" id="enviar" value="Enviar"/>
            </form>
        </div>

        <?php include 'include/menu.php'; ?>
    </body>
</html>
